import { ClientEvent } from "../../event/ClinetEvent";
import EventDispatcher from "../../../common/core/EventDispatcher";
import App from "../../App";

/** 视图基类 */
export default class BaseView extends cc.Component {
    /** 事件派发器 */
    readonly ed: EventDispatcher<ClientEvent.Def>

    constructor() {
        super()
        this.ed = App.ed
    }
}